
bt.module({builder: function(bt){
    var j$ = jQuery;

    $(document).ready(function() {
        var ellipsis_settings = {
            max_rows: 1,
            alt_text_t: true,
            whole_word: false
        };

        j$(".like-btn, .comment-btn, .bookmark-btn").live("click", function() {
            confirmAndDownload();
        });

        $("img.photo").lazyload({
            threshold : 960
        });

    });

    j$(window).load(function() {
        j$.ajax({
            url: location.href,
            data: "mobile_more=1",
            type: "GET",
            success: function(resp) {
                if(resp) {
                    j$("#more-wp-ajax-loader").remove();
                    j$(resp).appendTo(j$(".trip-wps"));
                    $("img.photo").lazyload({
                        threshold : 960
                    });
                }
            }
        });
    });

}});
